
package test.common.aop;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.jfinal.aop.Before;
import com.jfinal.aop.Enhancer;


/**
 * <p>Class       : test.tx.CodeListServiceMock
 * <p>Descdription: 模拟codelist service类，用于"事务"测试
 * @author  顾力行-gulixing@msn.com
 * @version 1.0.0
 */
public class AopMock{
    /**
     * Logger for this class
     */
    private static final Logger logger = LoggerFactory.getLogger(AopMock.class);
    
    //jFinal特效对象
    public static AopMock aop = Enhancer.enhance(AopMock.class);
    
    @Before(AopInterceptor.class)
    public  void haha(int param1, String param2){
    	logger.info("i'm haha,int:{},string:{}",param1,param2);
    }
    
}
